package ua.com.fesvlast.hotel.tests.utils;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

import ua.com.fesvlast.hotel.model.utils.MailSender;

public class MailSenderTest {

	@Test
	public void sendMailTest(){
		 String to = "fesvlast@rambler.ru";
		 
	    boolean flag=  MailSender.sendMessage(to, "Test", "Message test", "Tim");
	    
	    assertEquals(true, flag);
		
		
	}

}
